Verify PIN/PIN and Solicitation Mailer Cryptography

Command:

Verify the PE command processing performed by the HSM.

Notes:

It is suggested that a PE command performed by one HSM is verified by a PG command performed by a different HSM.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value PG.

Account number

12 N

The 12 right-most digits of the account number, excluding the check digit.

PIN

L N or LH

The PIN encrypted under LMK pair 02-03.

Reference number check value

L + 12 N

The cryptographic check on the solicitation reference number.

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message header

m A

Returned to the Host unchanged.

Response code

2 A

Value PH.

Error code

2 N

00 : No errors

01 : Verification fail

13 : LMK error; report to supervisor

14 : Error in PIN from Host

15 : Error in input data

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.